package com.kaishengit.demo.atmmbatis;

import java.util.List;

public interface AccountMapper {

    public Account findByName(String name);

    public Account findByNameAndPass(String name,String password);

    public List<Account> findAll();

    public int updateAccount(Account account);

    public int saveAccount(Account account);
}
